﻿using System.Security.Claims;

namespace SnakeShop.Auth.HttpContextUser
{
    public interface IHttpContextUser
    {
        int ID { get; }
        string Name { get; }
        bool IsAuthenticated();

        IEnumerable<Claim> GetClaimsIdentity();

        List<string> GetClaimValueByType(string ClaimType);

        /// <summary>
        /// token
        /// </summary>
        /// <returns></returns>
        string GetToken();

        List<string> GetUserInfoFromToken(string ClaimType);

    }
}
